package com.asset.dispoal.business.casedispose.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class CaseDisposeFormulaRequest {

    @ApiModelProperty("基数")
    private BigDecimal baseNumber;
    @ApiModelProperty("日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date judgmentCalculationTime;
    @ApiModelProperty("天数")
    private Integer judgmentDay;
    @ApiModelProperty("类型")
    private String judgmentType;
    @ApiModelProperty("利率")
    private String judgmentRate;
}
